#pragma once
#include "..\LinkedList\List.h"

/** \brief Contains all the interests for a person.
*
*/
template<class T>
class InterestTable : public List<T>
{
public:

	InterestTable() : List<T>()
	{
	}

	InterestTable(const InterestTable &list)
	{
		Node<T> *n = list.head;
		while (n != nullptr)
		{
			this->add_at_head(n->info);
			n = n->next;
		}
	}


	~InterestTable()
	{
	}


};

